<div class="quotes index">
	<h2><?php echo __('Quotes'); ?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('quote_id'); ?></th>
			<th><?php echo $this->Paginator->sort('family_name'); ?></th>
			<th><?php echo $this->Paginator->sort('facs_office'); ?></th>
			<th><?php echo $this->Paginator->sort('allocated_facs_worker'); ?></th>
			<th><?php echo $this->Paginator->sort('direct_mobile'); ?></th>
			<th><?php echo $this->Paginator->sort('date_of_request'); ?></th>
			<th><?php echo $this->Paginator->sort('type_request'); ?></th>
			<th><?php echo $this->Paginator->sort('start_date'); ?></th>
			<th><?php echo $this->Paginator->sort('end_date'); ?></th>
			<th><?php echo $this->Paginator->sort('days_dates'); ?></th>
			<th><?php echo $this->Paginator->sort('times'); ?></th>
			<th><?php echo $this->Paginator->sort('freq_of_req'); ?></th>
			<th><?php echo $this->Paginator->sort('description'); ?></th>
			<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($quotes as $quote): ?>
	<tr>
		<td><?php echo h($quote['Quote']['quote_id']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['family_name']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['facs_office']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['allocated_facs_worker']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['direct_mobile']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['date_of_request']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['type_request']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['start_date']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['end_date']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['days_dates']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['times']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['freq_of_req']); ?>&nbsp;</td>
		<td><?php echo h($quote['Quote']['description']); ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $quote['Quote']['quote_id'])); ?>
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $quote['Quote']['quote_id'])); ?>
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $quote['Quote']['quote_id']), null, __('Are you sure you want to delete # %s?', $quote['Quote']['quote_id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	</p>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Quote'), array('action' => 'add')); ?></li>
	</ul>
</div>
